package com.ruoyi.project.system.coinrecord.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 好奇币记录对象 haoqi_coin_record
 * 
 * @author LCL
 * @date 2020-06-29
 */
public class HaoqiCoinRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String memberId;

    /** 改变的好奇币数量 */
    @Excel(name = "改变的好奇币数量")
    private BigDecimal num;

    /** 状态: 0 未到账 1 已到账 2 已拒绝*/
    @Excel(name = "状态: 0 未到账 1 已到账  2 已拒绝")
    private Integer status;

    /** 类型: 0 充值 1 提现 */
    @Excel(name = "类型: 0 充值 1 提现")
    private Integer type;

    /** 来源: 0 办理会员 */
    @Excel(name = "来源: 0 办理会员")
    private Integer getType;

    /** 资源ID */
    @Excel(name = "资源ID")
    private String resId;

    private Date created;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setNum(BigDecimal num)
    {
        this.num = num;
    }

    public BigDecimal getNum()
    {
        return num;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setGetType(Integer getType) 
    {
        this.getType = getType;
    }

    public Integer getGetType() 
    {
        return getType;
    }

    public String getResId() {
        return resId;
    }

    public void setResId(String resId) {
        this.resId = resId;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("num", getNum())
            .append("status", getStatus())
            .append("type", getType())
            .append("getType", getGetType())
            .append("resId", getResId())
            .append("created", getCreated())
            .toString();
    }
}
